Code sharing giant GitHub has taken the wraps off a new search bar that's much more than just a search bar — it's a command-line interface for navigating the website.
The new features are clearly aimed at those accustomed to working with Git via the command line. But even if you aren't a terminal aficionado the new terminal-style tools in GitHub's search bar are incredibly useful for quickly getting around the site — especially for keyboard navigation junkies since you can now navigate the site without ever taking your fingers off the keyboard.
To use the new command bar just type help and you'll get a list of available commands. Most of the common things you'd want to do on GitHub — check in on a repo, view your notifications, create a new issue or see any pull requests on your projects — can now all be done from the search box/command line. Here are a few useful search operators:
- View a user's profile @username
- Go to a repository user/repo
- List a user's repositories user/
- List issues user/repo #
- Search open issues user/repo #search term
As with any good command-line imitator, GitHub's new search bar features tab completion, history and what the GitHub blog calls "smart filtering". To browse your history for example, hit the up arrow key — just like you would working in the terminal.
For more details, check out the GitHub blog or head on over to GitHub and give the new command search bar a try.
Scott Gilbertson 18 Sep, 2012
-
Source: http://feeds.wired.com/~r/wired/index/~3/1kg9SMwuUyw/
--
Manage subscription | Powered by rssforward.com
Anda sedang membaca artikel tentang
New Search Tool Brings Command-Line Power to GitHub
Dengan url
http://sizeofhappiness.blogspot.com/2012/09/new-search-tool-brings-command-line.html
Anda boleh menyebar luaskannya atau mengcopy paste-nya
New Search Tool Brings Command-Line Power to GitHub
namun jangan lupa untuk meletakkan link
New Search Tool Brings Command-Line Power to GitHub
sebagai sumbernya
0 komentar:
Posting Komentar