when i enter “git status” i see something like:
C:\cygwin\home\GIT\webapps>git status
# On branch webapp_633
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# renamed: dir/another_dir/then_another_dir/dir_AGAIN/file.jsp -> dir/another_dir/then_another_dir/dir_AGAIN2/file.jsp
# renamed: dir/another_dir/then_another_dir/dir_AGAIN/file2.jsp -> dir/another_dir/then_another_dir/dir_AGAIN2/file2.jsp
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# dir/another_dir/then_another_dir/target
# dir/dir/another_dir/then_another_dir/target
# dir/dir/dir/another_dir/then_another_dir/target
# dir/dir/dir/dir/another_dir/then_another_dir/target
# dir/dir/another_dir/then_another_dir/dir/target
normally i just use “git commit -m “message”” to commit all the files, but here i only renamed 2 files, i looked in the /target folders and theres nothing that needs to be committed.
any help?
The untracked files won’t be committed, so you can just do:
If you need to commit the untracked files, you will first need to add them with git add first.
I recommend http://think-like-a-git.net/