Hi, I am totally new to Git.I have installed and configured local Git server for the first time.There is almost 200 scripts in my Git repository.
How can a user pull a single script from the Git repository and make some changes to the script and push back script to Git server without pulling all the script. How can I pull a single file,make some changes to file and push back to the Git server. I don't want all the script that are Git server . I tried to push the script to server but am getting error : "To ssh://[email protected]/home/repo/akhilesh.git/ ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'ssh://[email protected]/home/repo/akhilesh.git/' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details." I searched on Internet and found that first I have to pull the changes and then push.But when I run "git pull" it pulls all the 200 scripts to the local directory and I don't want all scripts. Is there any other way to push the changes without pulling all the scripts. Please help Thanks & Regards Akhilesh -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
