A simple tutorial for the most basic git workflow for beginners, along with how to create a github repo and upload it to github. Here are the basic steps:
1. git init . (initialize the current directory as a git repository)
2. git status (see changes to tracked files, untracked files, etc.)
3. git add /path/to/file/or/dir (add just that file or directory to git)
3a. git add . (add everything in the current directory)
4. git commit -m “commit message”
5. git push (push to an upstream repo, if you’ve configured it)
These are the very basics of creating a repository and pushing it up to github. I’ll do another video with a more theoretical and thorough look at git basics, but that one will be much longer.
Pro Git Book (free):
My Free Linux Sysadmin Course Playlist:
Check out my step-by-step project-based Linux course for beginners, 93% off when you use this link:
Official Site & e-mail list:
Twitter:
Facebook:
Patreon:
Podcast:
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
You are the best!
Very helpful tutorial thank you 🙏
Awesome video series!!! I've gone and bought the udemy course! Thanks for the great content!
i like your terminal and your git prompt
Nice video. I find that git gui is slightly easier if you're new to git.
Nicely done! I use this exact workflow almost daily.
Is the podcast dead?
I love you man <3
Git is sometimes a bit complicated. It does deliver though. Every coder should know the basics of git. I somtimes get a bit enjoyed when people I work with use some git gui but don't really know what they are doing and screw things up. You can use a gui but you have to know what you are doing.
can you make video on email servers. like postfix
Best videos, dude!
your tutorials are the best <3
is there a way to have git or derived from git, on a local server? Can you show how?