git Flashcards
What does “change” means in git terminology?
change(in terminology of git:commit)
What is git repository?
A Git Repository is nothing but a folder with a special sub-folder called .git lies within.
How to check what is tracked (changes to be committed) and what is not tracked?
enter “git console” in console
how to commit? Do you need to choose which file to commit?
You don’t need to choose. Commit is just commit all your “tracked” files
git commit -m “You put your commit message here.”
What is a repository called besides a repository?
project
In gitlab, what is a remote?
A remote is basically a repository hosted in other machines on the internet instead of your own machine.
What do this comment do?
git remote add origin git@gitlab.com:/tecky-exercises.git
The command above add your gitlab repository as your origin which is the default name of a remote in git. A remote is basically a repository hosted in other machines on the internet instead of your own machine.
When we push, what is the best practice?
git push origin master
According to Valentin Despa Youtuber, what is commit like?
a snapshot of the repository at the certain time
When you wanna commit something, the console says “nothing to commit (create/copy files and use “git add” to track)”, what does it mean?
It means you have not made any changes to this folder where the git repository is essentially we haven’t added any files we haven’t changed any files we havent deleted any files, nothing to commit
According to youtuber Valentin Despa, what does untracked file means?
It means the files are not prepred to be committed, they are not prepared to be add to git
If before a file was staged and commited, if I make change to that file now, is this file tracked or untracked?
it is TRACKED although in git status says : Changes not staged for commit: modified: ABC__filename)
How to make something disappear in CSS
.navbar-toggler-icon{
display:none;
}