본문 바로가기

스파르타코딩개발일지

git bash > branch> full request


BeomKi@AnBeomKi MINGW64 ~/Desktop
$ git clone https://github.com/Carrotww/Team_SNS.git
Cloning into 'Team_SNS'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 44 (delta 11), reused 27 (delta 6), pack-reused 0
Receiving objects: 100% (44/44), 14.18 KiB | 7.09 MiB/s, done.
Resolving deltas: 100% (11/11), done.

BeomKi@AnBeomKi MINGW64 ~/Desktop
$  cd Team_SNS

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (main)
$ git branch QWE

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (main)
$ git checkout QWE
Switched to branch 'QWE'

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (QWE)
$ git status
On branch QWE
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   test.txt

no changes added to commit (use "git add" and/or "git commit -a")

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (QWE)
$ git add .

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (QWE)
$ git commit -m "Asd"
[QWE 6b95d79] Asd
 1 file changed, 3 insertions(+), 1 deletion(-)

BeomKi@AnBeomKi MINGW64 ~/Desktop/Team_SNS (QWE)
$ git push origin QWE
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 301 bytes | 301.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
remote:
remote: Create a pull request for 'QWE' on GitHub by visiting:
remote:      https://github.com/Carrotww/Team_SNS/pull/new/QWE
remote:
To https://github.com/Carrotww/Team_SNS.git
 * [new branch]      QWE -> QWE

 

 

'스파르타코딩개발일지' 카테고리의 다른 글

삭제후 재설치  (0) 2022.10.01
8번방의 선물 TeamProjecT 인스타그램 클론코딩  (0) 2022.09.29
TIL20일차  (0) 2022.09.28
TIL19일차  (0) 2022.09.28
TIL 18일차  (0) 2022.09.26