Git basic commands
- Get link
- X
- Other Apps
updating git
| #!/bin/bash | |
| sudo add-apt-repository -y ppa:git-core/ppa | |
| sudo apt-get update | |
| sudo apt-get install git -y |
To go to master branch
---->git checkout master
I created git branch in my local and switching in to that,
---->git checkout -b refactor/login
To push to Remote:
---->git push -u origin refactor/login
To go to master branch
---->git checkout master
- Get link
- X
- Other Apps
Comments
Post a Comment