git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.45k stars 1.24k forks source link

Trim space characters in the clone bar #952

Closed richardtop closed 6 months ago

richardtop commented 9 months ago

When copying a url from somewhere else it's often possible to accidentally copy some space characters in front or after the actual URL.

For example, instead of git@github.com:git-up/GitUp.git this will be copied: git@github.com:git-up/GitUp.git

As the result, GitUp shows this alert:

Screenshot 2023-10-18 at 19 27 23

Would be great to simply ignore these white space characters and continue to clone the actual URL.