git commit -a -m "Skiped Staging area<"
*________________Check Log________*
git log 
git status
*________________Remove file________*
git rm file_name.html
*________________Remove From staging________*
 git rm --cached file_name.html
*___________Check status_____________*
git status
*__________add file in staging______________*
git add file_name.php
dis-- All file add in one time 
 git add -A
  git status -s
*___________Creting a File _____________*
touch file_name 
*_____________Create a ignore file___________*
touch .gitignore
Dis-- and add all file name with extation for ignore
*___________Recover last Commit_____________*
 git checkout filename.php 
Dis- commit with massage 
git commit -a -m "Masssage here"
*______________________Branching In GitHub_______________________________*
Dis.--Creating new branch ;
    git branch branchname 
    git branch -b branchname 
Dis.- Check created branch
       git branch
Dis - marge a branch in master branch 
    git checkout master
    git merge branchname 
 Dis- Move one branch to another branch 
    git checkout branchname
 
 
 
0 Comments