Git
Git
----------------------------------------------
to get to kanow who is commiting , each user should have its own config
-----------------------------------------------------------------------------------
-------------------------------------------------
-----------------------------------------------------------------------------------
---------------------------------------------------------
-----------------------------------------------------------------------------------
-------------------------------------------------------
to push local repo to remote repo or in github ---> git push origin main
-----------------------------------------------------------------------------------
-------------------------------------------------------Tagging on github ---> git
tag -a v1.0 -m "First release"
to know about the tag ---> git show v1.0
-----------------------------------------------------------------------------------
---------------------------------------------------
to get a new branch ---> git checkout -b feature1 or git switch -c feature1
to check which braanch u are in ---> git branch(for local) or git branch --all
(for remote)
to push branches on remote repository add - commit - git switch feature1 - git
push origin feature1
to merge feature branch to main branch - git switch main - git pull origin main
- git merge feature1 - git push origin main