반응형
Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- RDEPENDS
- lineedit
- nvidia
- nvarguscamerasrc
- gstsample
- l4t
- 오블완
- 봉화 숲속캠핑장
- orin nx
- udpsink
- vpi
- libargus
- bitbake
- mkfs.ext4
- linux
- gcc7
- Jetson
- 티스토리챌린지
- vpiimage
- server error
- boot process
- yocto
- camera
- ssd 포맷
- meta-tegra
- LAYERS
- /dev/kmsg
- libargus api
- cpu frequency
- bash
Archives
- Today
- Total
DREAMER
[Git] The current branch master has no upstream branch. 에러 본문
728x90
반응형
원격 Git 레파지토리에 push를 할 경우 다음과 같은 에러가 발생한다.
$ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
Git remote 원격 서버에 처음 push 할 경우, 원격 레파지토리에 branch가 없어서 나는 에러이다.
--set-upstream 옵션을 주어서 push를 하면 된다.
$ git push --set-upstream origin master
Counting objects: 9845, done.
Delta compression using up to 24 threads.
Compressing objects: 100% (8358/8358), done.
Writing objects: 100% (9845/9845), 558.71 MiB | 29.90 MiB/s, done.
Total 9845 (delta 998), reused 9776 (delta 929)
remote: Resolving deltas: 100% (998/998), done.
To 192.168.10.2:yocto-tegra.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
브랜치 확인
$ git branch -a
* master
remotes/origin/master
728x90
반응형
'프로그래밍' 카테고리의 다른 글
[Git] 대용량 파일 push 시 에러 (0) | 2024.05.16 |
---|---|
[GStreamer] appsrc란 (0) | 2023.11.28 |
[GStreamer] jpeg image 띄우기 (0) | 2023.09.22 |
QT5 background-image pushbutton (0) | 2022.08.05 |
QT5 background-image pushbutton (0) | 2022.07.26 |
Comments