Not sure how correctly to do this. Any pointers? I've done the "git init" and the .git directory exists, done the add for each of the files I want in the repository. Now what?
Forum Archive
Trying to share a git repository up to github form my ipad using shellista
using shellista git
This is based off the dev-modular branch of shellista
#Create a .git folder
>git init <folder_name>
#cd into that folder
>cd <folder_name>
#add your files
>git add <files>
#Commit those files
>git commit <"commit message"> <"your name"> <"email">
#push it to your github repository
>git push <https://github.com/<username>/<repo_name>.git>
Did just that. My problem was the the gist I put up had the same names as what I was pushing to the repo. At least that's what I thinked happened. Will try again later when my batteries (the ipad's, mine are fine) recharge.
@polymerchm This doest work with gist. It's for full repositories on github.
Gistcheck.py is for gists. Shellista git is for github repos.
To aid in manually getting .pyui files into GitHub, I use the following 5 liner that I call pyui_to_clipboard.py:
import clipboard
filename = 'put_your_filename_here.pyui' # edit this line before running
with open(filename) as in_file:
clipboard.set(in_file.read())
print('The contents of {} are now on the clipboard.'.format(filename))
After running this, I just switch to GitHub, create a new file with the right filename.pyui and paste.
Fwiw, the"latest" version of gistcheck, or my version anyway, supported pyui files.
here
You should be able to run setid, then commit.
Got it now, thanks to all.