Git Commands
Git Commands
any drive
2) go inside the empty folder --> right click --> git bash --> plese click git bash
3) you will get black open window
6) git init
7) create one file with name "login" in the empty folder -->
=====================================================
=====================================================
git fetch is used to sync the changes between the remote repos and local repos only
and then you have to do reabsing to sync the changes between the local repos and
working directory
git pull is direct syncing the changes between the remote repos and working
direcotory via local repos
Sytax:
delete/modify some file from the remote repos
1) git fetch = soft delte
2) git rebase origin/master
=====================================
git fetch is done if you want to modify the file recrusively so keep your file on
local repos only for pushing directly
by mistake some body deleetd the file from your remote repos so dont pull just ue
fetch to keep your changes limited till loca repos only