-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit_commands.txt
42 lines (26 loc) · 1.06 KB
/
git_commands.txt
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
31
32
33
34
35
36
37
38
https://sunitharamki.atlassian.net/jira/software/projects/SELAUTO/boards/1
https://sunitharamki.atlassian.net/jira/rest/api/3/issue/SELAUTO-1
xReoS2ufGcCq1s04FXb7D476
GIT commands
notes to self
- local, remote
- from remote clone repository to local
- in local create branch and switch to branch
- do the(code) changes in the branch
- test in the branch
- git add <filename>
- git commit -m "<brief note>" <filename>
- git push to remote
git config --global user.name "sunitha-ramki"
git config --global user.email [email protected]
git config --list
git clone https://github.com/sunitha-ramki/opensips-test-automation.git
git status
git branch
git push https://github.com/sunitha-ramki/opensips-test-automation.git master
ssh-keygen -t ed25519 -C "[email protected]"
git remote add origin https://github.com/sunitha-ramki/opensips-test-automation.git
git remote set-url origin [email protected]:sunitha-ramki/opensips-test-automation.git
ssh -T [email protected]
--allow-unrelated-histories
git pull --allow-unrelated-histories origin master