GitHub ->Atom


#1

Dear All,

I want to use Atom + GitHub together, But I really don’t know how to edit the ./config in.git

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true

I also don’t find out any information in GithHub homepage about how to solve this problem.

Many thanks for your help!

Kind regards,
Leslie


#2

Okay, I’m going to warn you: this is a deep rabbit hole and you basically have no choice but to jump in.

The best source I know of is Git-SCM. Partway down that very long page is a very long list of possible variables for the config file. Variable namespace syntax is potentially confusing here, so just remember that the words in [] in the git config file are the same as the words before the . in names such as core.repositoryformatversion.

GitHub is a code storage service built on the git software created by Linus Torvalds. All git repos will obey the same configuration file regardless of their hosting service, and config variables that are implemented in the current released version of git should apply across everything. That’s part of what makes it appealing as a backup and collaboration tool. It’s only fairly recently that most OSS people moved onto GitHub and made it feel synonymous with git. Because of this, GitHub help is great when you’re working specifically with GitHub, but it doesn’t have as much detail when it comes to things that you can’t do through the GitHub GUI.


#3

Is It not possible that I can use GitHub in Atom editor. if I want to use, I have to edit ./config file in Atom

If I should use other Git GUI, I don’t need Atom any more.


#4

Of course it’s possible. The github package is mostly designed to work with GitHub.

if I want to use, I have to edit ./config file in Atom

I have given you the information to do so.


#5

I cannot put anything in GitHub from Atom

./configure file

[remote “origin”]
url = “https://username:password@github.com/XXX/example.git
[branch “master”]
remote = origin

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true

where are the errors in this configure file??

Regards.


#6

What error message is Atom giving you when you try to push? Are you able to push from the command line?