GITHUB COMMANDS
Oct 27, 2020
- git init
- git add .
- git commit -m “message”
- git add remote origin <github repolink>
- git push -u origin <branch name>
BRANCH AND MERGE
1 . git branch(To check which branch you are in )
2. git branch <branch name> (To add new branch )
3.git checkout <branchname> (To Go to that branch)
4.git merge <branch name> (To merge branch in which you are in and branchname which you give )
FORK AND PULL REQUEST
- First fork that repo .
- Then copy its https link (by click on code option of repo from your profile)
- Change as you want and push it to your repo.
- Then create pull request .