I created a file called tests.html inside a folder.
After typing:
git add tests.html
The message was displayed:
warning: LF will be replaced by CRLF in tests.html
The file will have its original line endings in your working dir...
I would like to know what characteristics and differences between the states of the files during their life cycle in git .
States :
untracked
unmodified
modified
staged
After adding modified file and having commit , I had to modify the entire structure of the code, but it did not work and I wanted access to the previous code again.
How do I retrieve content from the previous commit ?
I have already observed several people asking questions about possible GIT errors and I noticed that sometimes it involves -u . For example Error in Android Studio 2.3 integration with GitLab and Error uploading files to the remote serv...
My repository has momentarily corrupted after the yesterday's blackout in Brazil . I was able to fix corruption ( so ) and decided to run a git fsck to check the status of my local repository. Here he responds by saying that there are d...
I created another branch as a backup and I give merge to it, suppose I am in branch daniela3 :
git merge origin/develop
Only my branch daniela3 will be affected or origin/develop too? I mean, I'll be joining...
I got to read the question How do I see which commits change a certain file? It's almost what I need in case I want to know if it's possible for me to get the last commit that changed any file I've changed.
Is this possible? Or do I have to...