Skip to content

basic git command

Ahsanaul Kabir edited this page Oct 13, 2019 · 1 revision

Git:

1) git config --global merge.tool.kdiff3.cmd kdiff3 $BASE $LOCAL $REMOTE -o $MERGED
2) git config --global merge.tool kdiff3
3) git push origin HEAD:refs/for/master
4) git config --global user.name "User's Full Name"
5) git config --global user.email user.name@bjitgroup.com
6) git log --graph --pretty=oneline --abbrev-commit
7) git branch -D <local_branch>
8) git branch <local_branch>
9) git checkout <branch_name>
10) git add <file_name>
11) git commit -m "message"
12) git commit -a --amend -m "message"
13) git merge master
14) git mergetool
15) git clone ssh://sajidul.huq@review2.bjitgroup.com:29418/test

Clone this wiki locally