git
init - to create empty git repository.
git
status - to show the modified files in git repo.
git
add <filename> - to add the file to repo.
git
commit -m "commit message" - to commit the changes to repo.
.gitignore
- specify the type of files you want to excluded from the git while push.
echo '*.tmp' >
.gitignore
git add .gitignore
git commit -m
"gitignore file"
git
-f add <file> - to add the gitignore files forcefully.
Your environment is
currently being packaged as a Docker container and the download will begin
shortly. To run the image locally, once Docker has been installed, use the
commands
cat
scrapbook_git_1_container.tar | docker load
docker run -it yourmail@gmail.com/git_1:20180626
No comments:
Post a Comment