HEAD ======= >>>>>>> 8f924ec8939741408e44785587a73b4aff4b3f0f
version control
collab
A project
Save Staged Changes. Basically save/update/delete files in the spotlight(stage).
main branch(default master)= root
upload commits to remote.
request to merge branches/ forks.
create a duplicate , no change to core repo.
to resolve, suggestions or bugs,ideas, sticky notes of todos
Download/Pull from server
clone living on some server, here, GITHUB.
git init
git config --global user.name "name"
git config --global user.email "mail"
git add fname
git rm fname
git add .
git add *
git commit -m msg
git commit -a -m "msg"
git reset --soft HEAD~n
git branch -M localMain
git ---set-upstream-to=localNameForRemoteRep/branchname localbranchename
git remote -v
git remote add localNameForRemoteRep remoteRepoUrl
git pull localNameForRemoteRep branchename
git push localNameForRemoteRepbranchename
git checkout branchname
git checkout -b branchname
git status
git log -n