• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to use GitHub

Togu

Advanced OT User
Joined
Jun 22, 2018
Messages
308
Solutions
1
Reaction score
178
Location
Brazil
I want to share a project uploading a folder that contains "vc14" folder and ignore the files made when compiling.

First I need to learn how to create a repository and make a commit from git bash.

Code:
git init
git add .
git commit -m "start"

But now its not showing in my github.com/profileaccount.

What do i have to do?
 
It seems you don't know how to, otherwise you wouldn't be asking this in two threads.

You are just being lazy, there is a .gitignore file where you list files you dont want git to commit to the repository, the second link I sent on the first thread you made has commands to either reset the git cache or remove it so the unwanted files are gone.

The only thing I see here is you trying to get spoonfed by other users instead of reading the stuff I sent you at first, it's annoying as hell when you try to help someone "new" and they just keep saying "I can't do it, I don't know".

Thanks for making this place a "better" one, soon everyone that help others here will be gone.
 
It seems you don't know how to, otherwise you wouldn't be asking this in two threads.

You are just being lazy, there is a .gitignore file where you list files you dont want git to commit to the repository, the second link I sent on the first thread you made has commands to either reset the git cache or remove it so the unwanted files are gone.

The only thing I see here is you trying to get spoonfed by other users instead of reading the stuff I sent you at first, it's annoying as hell when you try to help someone "new" and they just keep saying "I can't do it, I don't know".

Thanks for making this place a "better" one, soon everyone that help others here will be gone.
Yeah but u didn't help me, all that you give me I had already found in google. I want a simple solution for a simple issue.
The link you gave me i had to learn unix commands.
You're being lazy too, u could just give me a simple recipe as solution. Copy and paste a user's manual isnt a solution.

It seems you don't know how to, otherwise you wouldn't be asking this in two threads.
Im not asking how to use google.

Once again, please just reply if you're gonna help me or to alert me if a broke any forum rules, otherwhise you are broking forum rules i guess.
 
What wasn't mentioned here is that you probably shouldn't commit vc14 directory since it could contain absolute paths that won't work on other machines. I would also consider dropping `git add .` since it adds shit you may not want and it's a common mistake. Try 'git add -u' or manually specify at least a directory you want to add, saved me a lot of trouble.

If you used linux you could also write something like:
Code:
find . -name "*.py" | xargs git add
 
Back
Top