threads / discuss / 29263

how can i read git repository information.

Subject: how can i read git repository information.

## tl;dr

2 messages between Dec 29, 2011 and Dec 29, 2011.

replies: 1people: 2as markdown or json

sp· Dec 29, 2011, 06:16 UTC · lore
hi all,

i new to git.i have git repository folder of one existing project. i want to read git repository files from that folder but when i open that file in notepad ++ it shows some encoded information,, pleas help...

-- View this message in context: http://git.661346.n2.nabble.com/how-can-i-read-git-repository-information-tp7134908p7134908.html Sent from the git mailing list archive at Nabble.com.

Magnus Bäck· Dec 29, 2011, 08:21 UTC · re: sp · lore

Re: how can i read git repository information.

On Thursday, December 29, 2011 at 07:16 CET,
     sp <sonali.treewalker@gmail.com> wrote:
> i new to git.i have git repository folder of one existing project.
> i want to read git repository files from that folder but when i
> open that file in notepad ++ it shows some encoded information,,

Which file are you attempting to open? What is it that you want to do?

A non-bare git repository consists of the working tree files (i.e. the files you keep under version control) and the files in the .git directory. Most of the latter files aren't meant for human consumption but are used internally by Git for bookkeeping purposes. Opening them in a text editor won't be useful.

-- 
Magnus Bäck                   Opinions are my own and do not necessarily
SW Configuration Manager      represent the ones of my employer, etc.
Sony Ericsson

← back to recent threads