Forum Archive

Trying to share a git repository up to github form my ipad using shellista

polymerchm

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?

briarfox

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>
polymerchm

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.

briarfox

@polymerchm This doest work with gist. It's for full repositories on github.

JonB

Gistcheck.py is for gists. Shellista git is for github repos.

ccc

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.

JonB

Fwiw, the"latest" version of gistcheck, or my version anyway, supported pyui files.
here

You should be able to run setid, then commit.

polymerchm

Got it now, thanks to all.