Does anyone know how to push to the GitHub directory?

Asked 2 years ago, Updated 2 years ago, 51 views

I'm doing a collaborative project study. I'd like to put the Android app project folder and file you're making in the Android directory you see in the picture. I'm not sure what to do.

Can't I put it in that directory directly from the Android studio? I've linked the project to the url of GitHub that you see.

android github

2022-09-22 19:49

1 Answers

Pull (or clone) with Git

Copy the project directory as it is, put it in, and commit and push it.

For example, if you use bash, it's like this.

# Clone store.
$ $ git clone https://github.com/(user)/(repo).git

# Copy the original project.
$ $ cp -R /path/to/project .

# Push
$ $ git add -A
$ git commit-m (summary)
$ $ git push

If you just write GitHub Desktop in File Explorer, you can do the same.

If you open the directory in Android studio after you put it in, it opens well.


2022-09-22 19:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.