bailoo / itrack

Location Tracking for Everyone
3 stars 2 forks source link

Git-ignore issue #12

Closed rizcompeer closed 9 years ago

rizcompeer commented 9 years ago

Little confused what command is for git ignore and how to see the already ignored files - Searched and found but it seems not working -

If we do - sudo git-ignore ReportPhpBackend/test_folder Output - Adding pattern(s) to: .gitignore ... adding 'ReportPhpBackend/test_folder'

and if we check it by - sudo check-ignore ReportPhpBackend/test_folder

Output - Nothing

and if we check it by - sudo check-ignore beta/graph

Output - beta/graph

And it is showing output in all other folders of graph phpexcel, download temporary directory without making git-ignore. Is the directory already ignored by other person? or command is not correct please guide.

bailoo commented 9 years ago

On Linux (and may be on Windows too) just edit .gitgnore file to add or remove files from being ignored from git. No need for any command.

Do not put new code on server bypassing the git flow. Use proper git flow.