how to upload an android project to github through command line in ubuntu / linux / windows

Go to the project root directory which you want to upload to git hub

Step 1. git init

If you dont have then


Step 1.1 touch

Step 1.2 git add


Step 1.1 git clone<username>/<projectname&gt;.git

Step 1.2 git remote rm origin


Step 2. git add .

Step 3. git commit -m “initial commit”

Step 4. git remote add origin<username>/<projectname&gt;.git

Step 5. git push -u origin master


About krishjlk

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: