Junaid
Junaid

Reputation: 7860

Using Git with Android

I am not new to Android, however I am new to version control. I work in a startup and whatever we do over here is what we learn by ourselves. I want to streamline my and my teams work so that we do not waste time in merging code files and messing them up. I tried to search on the internet about Git but this whole thing is pretty confusing. I want some reference or a video tutorial as in how to master Git and use it in context of android. I want a beginners level tutorial. Thanks!

Upvotes: 1

Views: 604

Answers (3)

Anup Cowkur
Anup Cowkur

Reputation: 20563

Using git in Android is not much different from using git anywhere else. Git is language/framework agnostic. If you are looking for a good gitignore file(the file that tells git what types of files shouldn't be added to the repo) for Android, you can check the one I use.

Here is a great book to learn git: Pro Git

Here is an interactive course: Git Immersion

It helps in the beginning to have a good GUI client if you are not too keen on the command line. Here's a good one: Sourcetree

Git can be intimidating at first and there are a lot of concepts to master. There are no shortcuts and the many online "cheatsheets" will only leave you more confused. Be patient and learn it. The payoffs are worth it.

P.S: IDE plugins such as EGit are generally terrible, ugly and tend to get in the way more than actually help with development. It depends on your preferences but I would recommend going with the command line.

Upvotes: 2

user2641641
user2641641

Reputation:

You can follow this tutorial to learn how to use git (through the console/command line, not specific to Android). There are also some graphical git clients.

Upvotes: 1

yushulx
yushulx

Reputation: 12160

You can try this online course to quickly master Git, step by step. :)

Upvotes: 2

Related Questions