6.5 Git stash
git stash commands : 1 To stash(hide) the staged files git stash 2 To stash(hide) staged/untracked file git stash -u 3 To Git Stash Save
git stash commands : 1 To stash(hide) the staged files git stash 2 To stash(hide) staged/untracked file git stash -u 3 To Git Stash Save
git ignore : We can see with demo example: (i) Created gitignore folder, and moved in to it mkdir gitignore cd gitignore (ii) Created log
Remove files from Staging area (un staging) / un Tracking : git rm –cached <filename>
To see status git status To see status in short git status -s Types of Tracked files : (i) Modified Files : (ii) Un Modified
To add one file at a time Git add <file name> To add multiple files and folders git add <file1> <file2> <folder> To add all
Git Local Repo upload to the github : Mostly uses https method, now will see how it’s works: (i) Opens a window, asks to login
1. Git clone and push own old Repository 1. Add changes to cloned repository, Here changed : contact with contactus Vi Editor opens : Press
(i) Open github.com and search for any project (Here I am searching for my own project : explore-world-bootstrap-website) 2. Here we can see the search result,
1. Create your project and open that directory , right click and select git bash here 2. Initializing the git git init 3. Check your
1. Open github, login with your credentials 2. Click on + icon right top corner, next click on New Repository 3. Now in the below,