Your own Git repositories¶
Imparfait keeps every version of a project in its folder, one branch per device. Project settings › Git repository
sends them to repositories of yours on servers as well: GitHub, GitLab, or any server Git reaches over HTTPS or SSH. Type
an address as the server shows it (git@github.com:you/your-project.git or https://github.com/you/your-project.git)
and Add, which stays faint until the address is one Git can send to. Add as many as you like: each one turned on
receives every version, and one added is sent to at once. What is refused is said under the field, with the way forward:
a folder ("A folder isn't a server": the project's folder already keeps every version), a login or a password in the
address (it is shared with every copy: Git asks for them on each computer), http:// (use https:// or SSH), or anything
Git can't send to.
On a computer, with Git. Imparfait sends through the Git installed on the computer, with that Git's own keys and
logins: it keeps no password and no token, so leave them out of the address. If Git reaches the repository from a
terminal, Imparfait does too; the first time, sign in once with Git (clone the repository in a terminal, for instance).
Without Git, the page says so, that any other computer of the project that has Git sends for it, and how to get Git on
that system (on a Mac, xcode-select --install, git-scm.com or brew install git); Check again looks for it without
restarting. The list still shows and can be changed; each card says Not sent from this Mac.
The list is the project's. Every copy of the project has the same repositories, each on or off. Every computer of the project that has Git sends to each one turned on: when the project opens, when one is added or turned back on, after each version (at most once a minute), and on Send now. A phone has no Git page and never sends: its versions reach a computer of the project on the same Wi-Fi or online, and that computer sends them. Its Project settings say where they go: "The versions go to GitHub · you/your-project, from a computer of the project that has Git." Two computers sending the same versions change nothing.
What is sent: every branch the computer has, its own and those it received from the other devices. A branch a repository holds newer is left as it is, and the page says how many. Each repository is a card: the server and the repository ("GitHub · you/your-project"), its switch, the address as kept, and the last sending from this computer, Sent · today 09:41 from this Mac · 3 branches, or Not sent with what went wrong in plain words, then Git's own line (logins and passwords taken out) and Try again. Send now, under the cards, sends to every one turned on.
Turning one off keeps it in the list, with its address, and stops every computer of the project from sending to it; turning it back on sends again. The page asks first, since it changes it for every computer.
Remove… takes the repository's address out of the project, on every computer, after asking. Nothing on the repository itself is deleted: what it holds stays there, it just receives nothing more.
Taking back what changed on a repository, backup branches and the list of what was sent come later.