version control - Git hub: I added a file but I want to exclude it from my next commit -


i new git hub, added file mistake dont want there next time commit.. how view files committed next time? , how exclude files?

and in general, recommendations tutorials using git hub , commands (their official tutorials horrible)? or user friendly gui? have been using cvs , svn 3 years , i've never suffered version control system before!!

if unstage file, e.g. revert before did the

$ git add not_commit.file 

simple remove staging area with

$ git rm --cached not_commit.file 

Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

javascript - Iterate over array and calculate average values of array-parts -

jQuery Ajax Render Fragments OR Whole Page -