src: http://stackoverflow.com/questions/12481639/remove-files-from-git-commit
moving the mistakenly committed files back to the staging area from the previous commit, without cancelling the changes done to them:
import javax.net.ssl.SSLParameters; | |
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { |
#!/bin/bash | |
# run this script on the client | |
# inspired by https://gist.github.com/deviantintegral/0f1066650e3ea5c5ffc1 | |
TODAY=`date +"%Y%m%d"` | |
# Set the path to rsync on the remote server so it runs with sudo. | |
#RSYNC="/usr/bin/sudo /usr/bin/rsync" |
src: http://stackoverflow.com/questions/12481639/remove-files-from-git-commit
moving the mistakenly committed files back to the staging area from the previous commit, without cancelling the changes done to them:
Catroid recently (August 15th) changed the folder structure of the project. This made a lot of open (not yet merged) Pull requests unmergable.
Feel free to use these instructions to migrate to the new folder structure in a fast way. But please only use it if you fully understand what the listed commands really do. Feel free to modify/comment/share. These instructions come without any warranty, which means you operate at your own risk!