This is Git in Five Minutes for Windows
After this, you should be able to
- Create a git repository on the command line
- Add files for staging
- Commit files
- Push files to a remote, ex. GitHub
0. Download Git for Windows Here
https://git-scm.com/download/win
1. Configure Git
git config --global user.name "Full Name Here"
git config --global user.email "Full Email Here"
git config --global user.email "Full Email Here"
2. Creating a Git Repository
git init
3. Create a File, Stage and Commit It
echo $null >> text.txt
git status
git add .
git commit -m "Initial Commit"
4. Create a Profile and Empty Repository on GitHub
5. Get the URL from GitHub and Push Code to GitHub
git remote add origin url
git push -u origin master (you may be prompted for GitHub login + username)
See the file successfully on GitHub!
git push -u origin master (you may be prompted for GitHub login + username)
See the file successfully on GitHub!
Future Steps
1. Learn what a branch is (the whole point of DVCS - distributed version control and Git!)
2. Learn what a fork is (the whole point of GitHub!)
3. Fork an existing open source project with an issue you can solve
4. Commit and push your change to your own fork, then issue a pull request!
???
profit
Hope this tutorial was helpful
~ B
GitHub has been a great way to improve and promote my iOS apps. I was wondering what other platforms are available to newbie developers like me?
ReplyDeleteThis website really has all the info I wanted concerning this subject and didn't know who to ask. Hop over to here: How To Learn To Lock Files Just 10 Minutes A Day
ReplyDeleteThis blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. typing tutor
ReplyDeleteWeb Solution Centre has the most promising team of website designers and developers who can help you with your entire requirement. We love what we do and our deliverables reflect our dedication and passion.
ReplyDeleteBuy Healing Crystals
ReplyDeleteThanks for sharing these app marketing tips! One approach I've used is Buy Mobile App Reviews, which helped my app rank higher and appear more trustworthy to new users. I think it's important to combine this with organic strategies like engaging with your community and responding to user feedback. What are your thoughts on balancing paid and organic growth?
ReplyDeleteWhen it comes to reliable Tata Truck Parts, Partsmith stands out as the go-to solution for quality and performance.
ReplyDelete