I have two CentOS servers that are set up the same. I created a git repo on server A and pushed it to github. I then cloned the repo on server B. At first, all seemed to be in order. I could commit on either server, push to the remote, and the pull on to the other server.
The problem is that my co-workers now cannot push or pull on server B (they can run git status or commit).
Currently I'm doing it by SSHing into a server, and executing Vim on the server. This has the benefit of not having to deal with cumbersome syntax of opening files from a remote server over SCP, and, more importantly, being able to really quickly navigate the server's filesystem.
i am trying to get a list of files to be scped from the remote server
by running the below in my local unix server ( note - there is a passwordless connectivity setup made between the local and remote server) and, we use KSH.
ssh $scp_host "find /a/b/c/*/ -iname "$remote_file"" > list.dat
the above pulls all the files that matches the pattern fro
I need to edit remote files (web application) on remote server. How do I do this most easily? Remote server is Linux web server, files are on shared hosting, where I can use FTP/SFTP, and jailed SSH access. It would be great if I could use the same solution on windows/nix local, which means that I use gedit on Ubuntu and Windows. Should I think about some version control software, like GIT?
I've set-up multiple git remotes as part of one Git repository and I need to cherry-pick one specific commit from the remote, but I don't want to push anything else to other repos (for the privacy purposes).
So when I fetch all the objects from remote A (from the same branch), cherry pick one commit (1 commit from A into B & C) and push it back to other remotes (B & C), does all objects (